package com.binhai.springboot.user.dao;

import com.binhai.springboot.tree.TreeBean;
import com.binhai.springboot.user.bean.UserBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;


import java.util.List;
import java.util.Map;

@Mapper
public interface UserBeanDao {

    int updateByPrimaryKeySelective(UserBean record);


    void insertReturnId(UserBean bean);

    void insertOrgids(UserBean bean);
    void deleteOrgids(UserBean bean);

    void deleteDatas(int[] ids);

    void deleteOrgidsForBath(int[] ids);


    void deleteData(UserBean bean);

    List<UserBean> getAllData();


    List<UserBean> selectData(String name);

    UserBean login(UserBean bean);

    void  insertRoleids(UserBean bean);

    void insertPostids(UserBean bean);

    List<TreeBean>  getAllTreeData();

    void register(UserBean bean);

    List<UserBean> forget(String beizhu);

    void registerkz(UserBean bean);

    void repass(UserBean bean);

    int selectUP(UserBean bean);

    void savePerson(UserBean bean);

    List<UserBean> teacherinfor();
}